package com.fqgj.sentry.statistics;

import com.fqgj.report.statistics.dao.BiGradeStatDao;
import com.fqgj.report.statistics.entity.BiGradeStatisticEntity;
import com.fqgj.sentry.statistics.service.GradeStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-10-19 下午5:21
 */

@Service
public class GradeStatisticsServiceImpl implements GradeStatisticsService {
    @Autowired
    private BiGradeStatDao biGradeStatDao;

    @Override
    public List<BiGradeStatisticEntity> selectRiskGradeStatistic(String startDate, String endDate, Long eventId, Integer versionType, String source, Integer borrowType, String scoreField) {
        return biGradeStatDao.selectRiskGradeStatistic(startDate, endDate, eventId,versionType, source, borrowType, scoreField);
    }

}
